#ifndef TABLEITEMDELETER_H
#define TABLEITEMDELETER_H

#include <QDialog>
#include <QListWidget>

namespace Ui {
class TableItemDeleter;
}

class TableItemDeleter : public QDialog
{
    Q_OBJECT

public:
    explicit TableItemDeleter(const QString tabName,const QString showName,QWidget *parent = 0);
    ~TableItemDeleter();

private slots:
    void on_btn_selectAll_clicked();
    void onStateChanged(int i);


    void on_btn_ok_clicked();

    void on_btn_cancel_clicked();

    void on_btn_selectRAll_clicked();
signals:
    void updateData();
private:
    Ui::TableItemDeleter *ui;
    QListWidget* mListWidget;
    QVector<QString> mTabItemNameVec;
    void initWidget();
    QString mTabName;
    QString mShowName;
};

#endif // TABLEITEMDELETER_H
